import Vue from 'vue'
import App from './App.vue'
import ElementUI from 'element-ui'
import 'element-ui/lib/theme-chalk/index.css'
import store from './store'
import router from './router'

// global css
import '@/styles/index.scss'

import '@/icons' // icon
import 'virtual:svg-icons-register'
import './permission'

Vue.prototype.$env = import.meta.env

Vue.use(ElementUI)

new Vue({
  el: '#app',
  store,
  router,
  render: (h) => h(App)
})
